package net.mfjassociates.financial.expense.shared.domain;

import org.springframework.format.annotation.NumberFormat;
import org.springframework.format.annotation.NumberFormat.Style;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import java.math.BigDecimal;
import net.mfjassociates.financial.expense.shared.domain.TaxCode;
import javax.persistence.ManyToOne;
import net.mfjassociates.financial.expense.shared.domain.ReportDetail;

@RooJavaBean
@RooToString
@RooEntity
public class ItemDetail {

    @NumberFormat(style=Style.CURRENCY)
    private BigDecimal noTaxAmount;

    @ManyToOne
    private TaxCode tax1;

    @ManyToOne
    private TaxCode tax2;

    @ManyToOne
    private TaxCode tax3;

    @ManyToOne
    private TaxCode tax4;

    @ManyToOne
    private TaxCode tax5;

    @ManyToOne
    private ReportDetail reportDetail;
}
